# # 创建字典"dict"
# dict = {'name': 'T系花', 'age': 20, 'class': '艺术学院'}
# print(len(dict))
# print(str(dict))
# print(type(dict))
# # for name in dict.keys():
# #     print(name.title())
# dict['学号'] = 100
# for name in dict:
#     print(name.title())
#     print(dict[name])
#     print(list(dict.values()))
# if 条件:
#     语句
# else:
#     语句
# if tiaojian:
#     语句
# elif tiaojian:
#     yuju
# elif tiaojian:
#     yuju
# ...
# else:yuju
# for i in range(1,10):
#     if i%2==0:
#         print(i)
#         break
# else:print('奇数')
# while 条件:
#     语句
# else:yuju
# def hello(t):#定义函数
#     result=0
#     for i in t:
#         result+=i
#     return result
# print('元素和：',hello((1,2,3,4)))

